import tokens


class Lex:
    curChar = ''
    def __init__(self,nextChar) -> None:
        self.nextChar=nextChar
        pass

    def getToken(self):
        len = 0
        while self.isWhiteSpace(self.curChar):
            self.curChar=self.nextChar();

    def isWhiteSpace(self, ch):
        return ch == ' ' or ch == '\t' or ch == '\n' or ch == '\r'
